<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>辅导员页面</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" href="easyui/themes/default/easyui.css" type="text/css" />
	<link rel="stylesheet" href="easyui/themes/icon.css" type="text/css" />
	<script src="easyui/jquery-1.7.2.min.js"></script>
	<script src="easyui/jquery.easyui.min.js"></script>
	<script src="easyui/locale/easyui-lang-zh_CN.js"></script>
	<script>
		function addTab(title, href){
		    var tt = $('#main-center');
		    if (tt.tabs('exists', title)){
			    tt.tabs('select', title);
		    } else {
			    if (href){
				    var content = '<iframe scrolling="no" frameborder="0"  src="'+href+'" style="width:100%;height:100%;"></iframe>';
			    } else {
				    var content = '该功能未实现，敬请期待！';
			    }
			    tt.tabs('add',{
				    title:title,
				    closable:true,
				    content:content
			    });
		    }
	    }
	</script>
	<style>
		.nav-item{
			text-align:center;
			background:#fff;
			height:80px;
		}
		.nav-item img{
			border:0;
		}
	</style>
  </head>
  
  <body class="easyui-layout">
  	<div region="north" style="height:60px"></div>
	<div region="west" title="导航菜单" split="true" style="width:150px;">
		<div class="easyui-accordion" fit="true" border="false">
			<div title="学生信息管理" selected="true" style="overflow:auto;">
				<div class="nav-item">
					<a href="javascript:addTab('学生基本资料','mentor/stuinfo.jsp')">
						<img src="images/kdmconfig.png"></img><br/>
						<span>学生基本资料</span>
					</a>
				</div>
				<div class="nav-item">
					<a href="javascript:addTab('学生评优评奖贫困补助')">
						<img src="images/kdmconfig.png"></img><br/>
						<span>学生评优评奖贫困补助</span>
					</a>
				</div>
				<div class="nav-item">
					<a href="javascript:addTab('贫困生建档','mentor/poor.jsp')">
						<img src="images/kdmconfig.png"></img><br/>
						<span>贫困生建档</span>
					</a>
				</div>
				<div class="nav-item">
					<a href="javascript:addTab('学生成绩')">
						<img src="images/kdmconfig.png"></img><br/>
						<span>学生成绩</span>
					</a>
				</div>
				<div class="nav-item">
					<a href="javascript:addTab('班级通讯录','mentor/contacts.jsp')">
						<img src="images/print_class.png"></img><br/>
						<span>班级通讯录</span>
					</a>
				</div>
			</div>
			<div title="学生荣誉管理" style="overflow:auto;">
			    <div class="nav-item">
					<a href="javascript:addTab('学生证书信息')">
						<img src="images/print_class.png"></img><br/>
						<span>学生证书信息</span>
					</a>
				</div>
			    <div class="nav-item">
					<a href="javascript:addTab('学生入党信息')">
						<img src="images/print_class.png"></img><br/>
						<span>学生入党信息管理</span>
					</a>
				</div>
			</div>
			<div title="学生参加活动管理" style="overflow:auto;">
			     <div class="nav-item">
					<a href="javascript:addTab('学生参加活动信息')">
						<img src="images/kdmconfig.png"></img><br/>
						<span>学生参加活动信息</span>
					</a>
				</div>
			</div>
			<div title="学生综合测评信息" style="overflow:auto;">
			     <div class="nav-item">
					<a href="javascript:addTab('综合测评信息')">
						<img src="images/print_class.png"></img><br/>
						<span>综合测评信息</span>
					</a>
				</div>
			</div>
			<div title="班级信息管理" style="overflow:auto;">
			     <div class="nav-item">
					<a href="javascript:addTab('班级公告信息')">
						<img src="images/kontact.png"></img><br/>
						<span>班级公告信息</span>
					</a>
				</div>
				<div class="nav-item">
					<a href="javascript:addTab('投票管理')">
						<img src="images/kontact.png"></img><br/>
						<span>投票管理</span>
					</a>
				</div>
			     <div class="nav-item">
					<a href="javascript:addTab('班委团委')">
						<img src="images/kontact.png"></img><br/>
						<span>班委团委</span>
					</a>
				</div>
			</div>
			<div title="个人信息" style="overflow:auto;">
				<div class="nav-item">
					<a href="javascript:addTab('资料修改')">
						<img src="images/package.png"></img><br/>
						<span>资料修改</span>
					</a>
				</div>
				<div class="nav-item">
					<a href="javascript:addTab('密码修改')">
						<img src="images/kontact.png"></img><br/>
						<span>密码修改</span>
					</a>
				</div>
			</div>
		</div>
	</div>
  	<div region="south" style="height:30px"></div>
	<div region="center">
		<div id="main-center" class="easyui-tabs" fit="true" border="false">
			<div title="首页" style="padding:20px;">
				<img src="images/index_1.png"></img>
				
			</div>
		</div>
	</div>
  </body>
</html>
